#include "qhexanalysis.h"
#include "qhexanalysisplugin.h"

#include <QtPlugin>

QHexAnalysisPlugin::QHexAnalysisPlugin(QObject *parent)
    : QObject(parent)
{
    m_initialized = false;
}

void QHexAnalysisPlugin::initialize(QDesignerFormEditorInterface * /* core */)
{
    if (m_initialized)
        return;

    // Add extension registrations, etc. here

    m_initialized = true;
}

bool QHexAnalysisPlugin::isInitialized() const
{
    return m_initialized;
}

QWidget *QHexAnalysisPlugin::createWidget(QWidget *parent)
{
    return new QHexAnalysis(parent);
}

QString QHexAnalysisPlugin::name() const
{
    return QLatin1String("QHexAnalysis");
}

QString QHexAnalysisPlugin::group() const
{
    return QLatin1String("");
}

QIcon QHexAnalysisPlugin::icon() const
{
    return QIcon();
}

QString QHexAnalysisPlugin::toolTip() const
{
    return QLatin1String("");
}

QString QHexAnalysisPlugin::whatsThis() const
{
    return QLatin1String("");
}

bool QHexAnalysisPlugin::isContainer() const
{
    return false;
}

QString QHexAnalysisPlugin::domXml() const
{
    return QLatin1String("<widget class=\"QHexAnalysis\" name=\"qHexAnalysis\">\n</widget>\n");
}

QString QHexAnalysisPlugin::includeFile() const
{
    return QLatin1String("qhexanalysis.h");
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2(qhexanalysisplugin, QHexAnalysisPlugin)
#endif // QT_VERSION < 0x050000
